@import './base.css';

.logoutStyle {
  display: inline-block;
  background-color: white;
  border-color: red;
  border-width: 2px;
  color: red;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  margin-right: 30px;
  text-align: center;
  border-radius: 10px;
  font-size: x-small;
  cursor: pointer;
  border-style: solid;
}
.logoutStyle:hover {
  color: white;
  background-color: rgb(233, 81, 81);
  transition: all 0.1s;
}
/* 默认按钮 */
.def-btn {
  cursor: pointer;
  width: 80%;
  text-align: center;
  color: white;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: medium;
  font-weight: bold;
  background-color: var(--main-color2);
  border-radius: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: all 0.3s;
}
.def-btn:hover {
  background-color: var(--main-color);
}
/* 默认小按钮 */
.def-btn-small {
  cursor: pointer;
  text-align: center;
  color: white;
  margin-left: 5px;
  margin-right: 5px;
  font-size: x-small;
  background-color: var(--main-color2);
  border-radius: 5px;
  padding-top: 5px;
  padding-left: 13px;
  padding-right: 13px;
  padding-bottom: 5px;
  transition: all 0.3s;
}
.def-btn-small:hover {
  background-color: var(--main-color);
}
.msg-style {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 90%;
}
.def-select {
  min-width: 150px;
  margin-left: 5px;
  margin-right: 5px;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  border: 1px solid var(--main-color5);
}
/* ======================================================================================= */
/* 遮罩层 */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
/* 对话框本身 */
.dialog-base {
  background: white;
  border-radius: 8px;
  padding: 20px;
  min-width: 350px;
  max-width: 60%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: scale(0.9);
}
/* 标题 */
.dialog-title {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: larger;
  font-weight: bold;
  text-align: center;
}
.dialog-btns {
  display: flex;
}

.dialog-btns .cancel {
  margin: 20px;
  cursor: pointer;
  flex: 1;
  text-align: center;
  border: 1px solid gray;
  border-radius: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dialog-btns .sure {
  cursor: pointer;
  flex: 1;
  margin: 20px;
  text-align: center;
  background-color: var(--main-color);
  color: white;
  border-radius: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
